#include "mystdio.h"

int main()
{
    MYFILE* myfile = MyOpen("log.txt","w");
    if(myfile == NULL) return -1;
    const char* str = "abc-abc\n";        
    MyWrite(myfile, (void*)str, strlen(str));
    MyWrite(myfile, (void*)str, strlen(str));
    MyClose(myfile);
    return 0;
}
